#include "adminwindow.h"
#include <QApplication>

#include "connector.h"

int main(int argc, char *argv[])
{
    QApplication a(argc, argv);

    Connector c;
    c.start();

    AdminWindow w;
    w.show();

    return a.exec();
}




//#include <iostream>
//#include <stdlib.h>

//#include "station_mysql.h"
//#include "train_mysql.h"

//using namespace std;

//int main()
//{
//   int res;
////   Station *station;
////   station->setName("nanjing");

//   database_start("root", "");

//   res = addTrain_mysql("G1024",4,"150230");
////   res = deleteStation("nanjing");

//   database_end();

//   return EXIT_SUCCESS;
//}

